package com.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.entity.*;
import org.springframework.stereotype.Service;

public interface IUserService extends IService<User> {
    //查询所有用户
    public PageResult<User> findAll(PageDTO<User> pageDTO);
    //删除用户
    public Result delUser(String uid);
    //设置用户类型，是否启用
    public Result updateUser(User user);
    //查看用户详情
    public Result searchUserInfo(UserInfo userInfo);
}
